COSAR-CQN: An Application Transparent Approach to Cache Consistency
نویسندگان
چکیده
Cache managers speed up the performance of data intensive applications whose workload is dominated by queries. An example is memcached which is in use by very large well-known sites such as Facebook. A key challenge of such systems is how to maintain the state of the cache consistent with that of the database in the presence of updates. With SQL based database management systems (DBMSs) that support query change notification mechanism, one possible approach would require the cache manager to a) register queries used to compute a key-value pair with the DBMS to subscribe for notifications when the query result sets change, and b) delete the cached key-value pair(s) once notified of a change by the DBMS. This approach is independent of how the application updates the database, eliminating application specific software for cache consistency. This reduces the complexity of the application software and minimizes the software development cycle associated with designing, developing, and maintaining software in support of cache consistency. This paper presents the design and implementation of this approach in a cache manager named COSt AwaRe, COSAR. This approach is named Continuous Query change Notification, CQN. It is one of several cache consistency techniques implemented in COSAR. We compare CQN with these alternatives, quantifying its strengths and limitations.
منابع مشابه
Caching with 'Good Enough' Currency, Consistency, and Completeness
SQL extensions that allow queries to explicitly specify data quality requirements in terms of currency and consistency were proposed in an earlier paper. This paper develops a data quality-aware, finer grained cache model and studies cache design in terms of four fundamental properties: presence, consistency, completeness and currency. The model provides an abstract view of the cache to the que...
متن کاملTransparent Caching and Consistency in Dynamic Content Web Sites
We consider a cluster architecture in which dynamic content is generated by a database back-end and a collection of Web and application server front-ends. We study the effect of transparent query caching on the performance of such a cluster. Transparency requires that cached entries be invalidated as a result of writes. If multiple caches are present, the caches also have to be kept consistent....
متن کاملMicrosoft Word - VLDB2005full.DOC
SQL extensions that allow queries to explicitly specify data quality requirements in terms of currency and consistency were proposed in an earlier paper. This paper develops a data quality-aware, finer grained cache model and studies cache design in terms of four fundamental properties: presence, consistency, completeness and currency. Such a model provides an abstract view of the cache to the ...
متن کاملMicrosoft Word - VLDB471-new-7.DOC
SQL extensions that allow queries to explicitly specify data quality requirements in terms of currency and consistency were proposed in an earlier paper. This paper develops a data quality-aware, finer grained cache model and studies cache design in terms of four fundamental properties: presence, consistency, completeness and currency. The model provides an abstract view of the cache to the que...
متن کاملVIPS: Simple Directory-Less Broadcast-Less Cache Coherence Protocol
Coherence in multicores introduces complexity and overhead (directory, state bits) in exchange for local caching, while being “invisible” to the memory consistency model. In this paper we show that a much simpler (directory-less/broadcast-less) multicore coherence provides almost the same performance without the complexity and overhead of a directory protocol. Motivated by recent efforts to sim...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012